var gulp=require("gulp");
var cssmin=require("gulp-cssmin");
var uglify=require("gulp-uglify");
var babel = require('gulp-babel');
var nokey = require('gulp-tinypng-nokey');

gulp.task("default",()=>{
		gulp.src("./css/*.css")
			.pipe(cssmin())
			.pipe(gulp.dest("./dist/css"))

		gulp.src("./js/*.js")
			.pipe(uglify())
			.pipe(gulp.dest("./dist/js"))

		gulp.src("./img/Q/*.{png,webp,svg}")
		.pipe(nokey())
		.pipe(gulp.dest("./dist/img"));
		
		gulp.src("./*.html")
		.pipe(gulp.dest("./dist"));	
		
})